package com.prs.crm.service.crm.impl;

import java.io.File;

import com.prs.crm.context.FileUtil;
import com.prs.crm.dao.crm.MeetReportDao;
import com.prs.crm.domain.crm.MeetReport;
import com.prs.crm.service.crm.MeetReportService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class MeetReportServiceImpl extends BaseServiceImpl<MeetReport,MeetReportDao> implements MeetReportService{

	@Override
	public void saveMeetReport(MeetReport report, File file, String fileName) {
		// TODO Auto-generated method stub
		report.setAttach(FileUtil.getInstance().createAttach(file, fileName));
		this.getDao().save(report);
	}

}
